//
//  HWLevelModel.m
//  嗨文
//
//  Created by 响当当 on 7/2/19.
//  Copyright © 2019 dongzheng. All rights reserved.
//

#import "HWLevelModel.h"

@implementation HWLevelModel
- (id)initWithDic:(NSDictionary *)dic
{
    if (self = [super init])
    {
        self.headImg = IFNULL(dic[@"headImg"], @"");
        self.nickName = IFNULL(dic[@"nickName"], @"");
        self.userId = IFNULL(dic[@"userId"], [NSNumber new]);
        self.profit = IFNULL(dic[@"profit"], [NSNumber new]);
    }
    return self;
}
@end
